package com.nurt.entity;

public class OrderDishEntity {
    private int orderDishId;
    private int orderId;
    private int dishId;
    private String name;
    private int quantity;
    private double price;

    // getters and setters
    public int getOrderDishId() { return orderDishId; }
    public void setOrderDishId(int orderDishId) { this.orderDishId = orderDishId; }

    public int getOrderId() { return orderId; }
    public void setOrderId(int orderId) { this.orderId = orderId; }

    public int getDishId() { return dishId; }
    public void setDishId(int dishId) { this.dishId = dishId; }

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public int getQuantity() { return quantity; }
    public void setQuantity(int quantity) { this.quantity = quantity; }

    public void increQuantity(int increment) { quantity+=increment; }

    public double getPrice() { return price; }
    public void setPrice(double price) { this.price = price; }
}
